package com.pdool.game.msg;

import com.pdool.api.msg.LoginReq;
import com.pdool.api.msg.LoginResp;
import com.pdool.api.constants.MsgDefine;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.WebSocketSession;


@MsgHandler(MsgDefine.LOGIN)
@Component
public class TestHandler implements IHandler<LoginReq, LoginResp> {
    @Override
    public LoginResp handle(WebSocketSession session, LoginReq req) {
        System.err.println("执行了");
        return null;
    }
}
